{% extends 'core/_base.html' %} {% block title %} Due Collection {% endblock title %} {% load humanize %} {% block body %}
Due Collection
{% if due_list %}
Total: {{ total_amount | intcomma }}TK
Total Due: {{ due_amount | intcomma }}TK
{% for sale in due_list %} {% if sale.is_paid == True %} {% else %} {% endif %} {% endfor %}
SL. Invoice No Customer Name Mobile No. Date Status Due Amount Total Amount
{{ forloop.counter }} #{{ sale.invoice_number }} {{ sale.customer }} {{ sale.customer.mobile_no }} {{ sale.date }}{{ sale.status|title }}{{ sale.status|title }} {{ sale.due | intcomma }} BDT {{ sale.total | intcomma }} BDT
{% if due_list.has_previous %} Previous {% endif %}
{% if due_list.has_next %} Next {% endif %}

Showing {{ due_list.number }}/{{ due_list.paginator.num_pages }}

{% else %} {% include 'core/info/message.html' %} {% endif %}
{% endblock body %}